diff: Use gs_unref_object not gs_free on a GFile
authorGiuseppe Scrivano <gscrivan@redhat.com>
Thu, 30 Oct 2014 10:05:47 +0000 (11:05 +0100)
committerColin Walters <walters@verbum.org>
Thu, 30 Oct 2014 16:17:32 +0000 (12:17 -0400)
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
src/ostree/ot-builtin-diff.c

index 00de8cbbda04d97577c4a88b3d7f9e2a75d3a586..65d55be2564fd7a868267ba57fe52e29ac06b5e1 100644 (file)
@@ -43,7 +43,7 @@ parse_file_or_commit (OstreeRepo  *repo,
                       GError     **error)
 {
   gboolean ret = FALSE;
-  gs_free GFile *ret_file = NULL;
+  gs_unref_object GFile *ret_file = NULL;
 
   if (g_str_has_prefix (arg, "/")
       || g_str_has_prefix (arg, "./")